home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / cpanels / zcont20a.lzh / ENGLISH / ZCONTROL.TXT < prev    next >
Encoding:
Text File  |  1995-09-17  |  20.7 KB  |  718 lines

  1.                             The Manual to
  2.  
  3.                                zControl
  4.  
  5.                                  0.2
  6.                              July, 6 1995
  7.  
  8.                                  by
  9.  
  10.                            Ralf Zimmermann
  11.                             Am Ruhwehr 35
  12.                           D-65207 Wiesbaden
  13.  
  14.                            dl1fdt@amsat.org
  15.  
  16.  
  17.  
  18. Contents
  19. ========
  20.  
  21.  1 This Version
  22.    1.1 English Version
  23.  
  24.  2 Copyright
  25.    2.1 Shareware
  26.    2.2 UK Register
  27.        2.2.1 Free Update Service
  28.    2.3 Price List
  29.  
  30.  3 Motivation
  31.  
  32.  4 Installation
  33.  
  34.  5 Operating the program
  35.    5.1 Main dialogue
  36.    5.2 Popup-Dialogue 'Optionen'
  37.    5.3 Voreinstellung
  38.    5.4 Modul-Auswahl
  39.    5.5 Select a module
  40.    5.6 Activate a module
  41.    5.7 Keyboard Handling
  42.    5.8 Command Line Parameters for zControl
  43.        5.8.1 Anwendung anmelden
  44.        5.8.2 AV Protocol
  45.        5.8.3 Drag&Drop
  46.    5.9 Iconify
  47.  
  48.  6 The INF File
  49.    6.1 Debug Function
  50.    6.2 Where will the INF file be searched?
  51.  
  52.  7 Undocumented Functions
  53.    7.1 KONFIG.CPX
  54.    7.2 LINK_CPX.CPX
  55.    7.3 DFREE.CPX
  56.  
  57. Appendix
  58.  
  59.  A The Format of the INF file
  60.  
  61.  B Sources of supply
  62.  
  63.  C Thanks
  64.  
  65.  
  66.  
  67. 1 This Version
  68. ==============
  69.  
  70. This program is not finished! I'd like to describe it as a *very good
  71. tested* Beta-Version.
  72.  
  73. At this time I have not the time to implement all the things i'd like
  74. to see in the program. And I can't say when I will have the final
  75. version. Within the last few months some people have been asking when
  76. zControl would come. So I decided to release this version to the
  77. public - the program works without major problems. As soon as I have
  78. some more time I will release a new version!
  79.  
  80. 'Without major problems' means:
  81. In this version zControl runs as ACC only under multitasking systems.
  82. As soon as you try to start it under SingleTOS, such asTOS 3.06, as a
  83. ACC you get some bombs.
  84.  
  85. Until now i didn't know what the problem was and therefore i didn't
  86. change it. I am using MagiC!3 and MagicMac and have no problems with
  87. zControl. So let's hope for a magic idea for the future. From then on
  88. zControl will be fully usable for all users, even these with Single-
  89. Tasking systems.
  90.  
  91. As an ACC under SingleTOS you get a warning message while booting. No
  92. CPX modules will be loaded. You can load the modules afterwards. If
  93. you get problems with this procedure I would appreciate a bug report
  94. to me. Please tell me something about your configuration:
  95.  
  96. Computer, memory, operating system, HD-driver, AUTO-folder-
  97. programs...
  98.  
  99.  
  100. 1.1 English Version
  101. -------------------
  102.  
  103. This is the first step to transfer this program to english language.
  104. Now I have translated all the documentation. The program itself is
  105. still german, but I think it is easy to understand. You don't have to
  106. learn german.
  107.  
  108. In the future, there will be an english version of the program too.
  109.  
  110.  
  111.  
  112. 2 Copyright
  113. ===========
  114.  
  115. zControl is a Shareware program by
  116.  
  117.    Ralf Zimmermann
  118.    Am  Ruhwehr  35
  119.    65207 Wiesbaden
  120.    Germany
  121.  
  122.    MausNet     :  Ralf Zimmermann @ OF2
  123.    internet    :  dl1fdt@amsat.org
  124.    PacketRadio :  DL1FDT@DB0GV
  125.  
  126.    Bank Account:
  127.    Naspa Wiesbaden
  128.    Bank code number  510 500 15
  129.    Account number   1010 299 72
  130.  
  131. The fastest way to reach the author should be to use the email!
  132.  
  133.  
  134. 2.1 Shareware
  135. -------------
  136.  
  137. This program is distributed as Shareware. This means you can test
  138. this program without any restrictions. By testing I consider 3 weeks.
  139. After this time you should know if you want to use this program or
  140. not.
  141.  
  142. Which restrictions does this program have in the public version?
  143.  
  144. *- None -*
  145.  
  146. There is no other version of zControl! All features of this program
  147. are *not* restricted! Therefore zControl is a *real* representation of
  148. Shareware.
  149.  
  150. By registering the program you pay for a programm that you already
  151. have and that you were able to test thoroughly. I think there is no
  152. fairer way to distribute software. I hope it works.
  153.  
  154. If you like the program and want to use it in the future, you have to
  155. register it. This can be done by paying the shareware fee of DM10 to
  156. the author through remittance, cash or crossed cheque, or sending the
  157. registration fee too the appropriate support site.
  158.  
  159. Please note the following: If you use a Shareware program without
  160. registering, you are using an unauthorized copy!
  161.  
  162. Standard-Disclaimer:
  163.  
  164.     This program was made carefully. The author is not responsible
  165.     for any damages that originate from the usage or non-usage of
  166.     zControl.
  167.  
  168.  
  169. 2.2 UK Register
  170. ---------------
  171.  
  172. UK users may register for zControl via CyberSTrider, the shareware
  173. support scheme run by Denesh Bhabuta. The UK shareware fee for
  174. zControl currently stands at 6 Pounds Sterling, which entitles you to
  175.  
  176.    ∙ A printed labelled Master Disk with the latest version of
  177.      zControl, plus a selection of other shareware supported by
  178.      Denesh.
  179.  
  180.    ∙ Free e-mail, post and telephone support
  181.  
  182.    ∙ Free update service (as long as the registration fee does not go
  183.      up, or it becomes commercial)
  184.  
  185. If you use zControl, then you must register. Make cheques, postal
  186. orders, international money orders, and eurocheques payable to DENESH
  187. BHABUTA, for the sum of 6 Pounds Sterling (overseas users please add
  188. 1 pound), and send with your details to:
  189.  
  190. CyberSTrider
  191. 203 Parr Lane
  192. Unsworth
  193. Bury
  194. Lancashire
  195. BL9 8JW
  196. England
  197.  
  198. E-mail: dbhabuta@cix.compulink.co.uk
  199.         danny@micros.hensa.ac.uk
  200.  
  201.  
  202. 2.2.1 Free Update Service
  203.  
  204. Registered users may benefit from the free update service by sending
  205. an unlabelled blank floppy disk and stamped self addressed envelope
  206. to Denesh at the above address.
  207.  
  208.  
  209. 2.3 Price List
  210. --------------
  211.  
  212. If you register zControl directly at the author, the price to
  213. register one user presently is:
  214.  
  215.     DM 10,-
  216.  
  217.  
  218.  
  219. 3 Motivation
  220. ============
  221.  
  222. Since TOS 2.00 you get the XCONTROL.ACC from Atari. It is the
  223. environment for CPX modules. These are modules for configurating your
  224. computer or programs. There are for example modules to configure the
  225. serial interface, the keyboard or the printer. Some modules come with
  226. their own CPX modules. All CPX modules have the file extension
  227. '.CPX'.
  228.  
  229. The modules do not run without a modular Control Panel (zControl or
  230. XControl)!
  231.  
  232. We all know that XControl has some nasty bugs. That was the beginning
  233. of my idea to build an alternative.
  234.  
  235. *zControl is made to be this alternative.*
  236.  
  237. It loads the same CPX modules as XControl and behaves almost
  238. compatible, as far as the documentation recommends that.
  239.  
  240. The advantages towards XControl are quite obvious:
  241.  
  242.    ∙ zControl will be developed in the future, all known bugs will be
  243.      removed.
  244.  
  245.    ∙ zControl supports following protocols:
  246.  
  247.       - Drag&Drop
  248.  
  249.       - Iconify
  250.  
  251.       - AV-protocol
  252.  
  253.      This means that the program fits perfectly into modern user
  254.      interfaces.
  255.  
  256.    ∙ zControl enables you to run up to four different modules at the
  257.      same time! Each module runs in its own window.
  258.  
  259.    ∙ zControl can be controlled through the keyboard.
  260.  
  261.    ∙ zControl has some more useful features, you may have looked for.
  262.  
  263.  
  264.  
  265. 4 Installation
  266. ==============
  267.  
  268. Copy the file ZCONTROL.ACC to the root directory of your boot drive.
  269. Generate a folder named CPX and copy all your CPX modules into that
  270. folder. The folder can be named differently. Then reboot.
  271.  
  272. Now call the program through the entry in the menu. Click on the
  273. button 'Optionen' (this means options) on the main dialog. Choose
  274. 'Voreinstellung...' in the popup dialog you get. You get a file
  275. selector dialog. Please show zControl the folder from which the
  276. modules should be loaded in future. Usually this should be the folder
  277.  
  278. C:\CPX\
  279.  
  280. Click on the button 'Sichern' and confirm the security dialog. After
  281. that, zControl should search the CPX modules in the correct folder
  282. while starting.
  283.  
  284. Under multitasking systems you can run zControl as an application.
  285. Change the file extension from .ACC to .APP or .PRG and you can use
  286. zControl as a normal program.
  287.  
  288.  
  289.  
  290. 5 Operating the program
  291. =======================
  292.  
  293. In the following pages you will learn how to operate the program.
  294.  
  295.  
  296. 5.1 Main dialogue
  297. -----------------
  298.  
  299. After entering the program you get the main dialogue. You can see
  300. which programs are loaded and therefor are available. If more modules
  301. were found than fit into the dialogue (as usual), you can scroll to
  302. the other modules by using the vertical slider to the right.
  303.  
  304. ATTENTION:
  305. The beta version of zControl has a scrolling windowname. This should
  306. remind you that this is only a beta version. As soon as the final
  307. version is finished this 'feature' will disappear.
  308.  
  309.  
  310. 5.2 Popup-Dialogue 'Optionen'
  311. -----------------------------
  312.  
  313.    ∙ Info...
  314.      You can get a short copyright information about this program.
  315.      You will find the version number in this dialogue.
  316.  
  317.    ∙ Voreinstellung...
  318.      You get to an dialogue where you can configure the program.
  319.  
  320.    ∙ Öffne CPX...
  321.      If a module is selected, you can activate it with this popup
  322.      entry as if you made a double click on the module entry.
  323.  
  324.    ∙ CPX Info...
  325.      If a module is selected, you can get some information about the
  326.      module.
  327.  
  328.  
  329. 5.3 Voreinstellung
  330. ------------------
  331.  
  332. In this dialogue you can
  333.  
  334.    ∙ reload CPX modules.
  335.  
  336.    ∙ switch to the dialogue 'Modul-Auswahl'.
  337.  
  338.    ∙ change the number of CPX entries on the main dialogue.
  339.  
  340.    ∙ change the folder in which zControl looks for the CPX modules.
  341.  
  342.  
  343. 5.4 Modul-Auswahl
  344. -----------------
  345.  
  346. (Modul-Auswahl means module selection)
  347.  
  348. In this dialogue you can change the selection of modules that will be
  349. loaded next time by zControl. Active modules in the list are marked
  350. with a hook.
  351.  
  352. You can change the status of a module (active/inactive) through a
  353. click on the entry.
  354.  
  355. Note: De/activating is made by changing the file extension of the
  356. module. Active modules have the extension '.CPX', inactive modules
  357. have the extension '.CPZ'.
  358.  
  359.  
  360. 5.5 Select a module
  361. -------------------
  362.  
  363. You can select a module easily by clicking with the left mouse button
  364. on the module entry. The selection is visible through the inverted
  365. diplay of that entry. If you have a selected module, you get more
  366. options in the 'Optionen' popup dialog.
  367.  
  368.  
  369. 5.6 Activate a module
  370. ---------------------
  371.  
  372. You can activate a module through
  373.  
  374.    ∙ a double click with the mouse on the entry.
  375.  
  376.    ∙ pressing the Return key while the entry is selected.
  377.      (see Keyboard Handling)
  378.  
  379.    ∙ a VA_START message.
  380.  
  381.    ∙ a Drag&Drop message.
  382.  
  383. Each activated module has it's own window. Presently you can have up
  384. to four CPX windows at the same time. This number is arbitrary and
  385. may be changed in future versions.
  386.  
  387.  
  388. 5.7 Keyboard Handling
  389. ---------------------
  390.  
  391. In the main dialogue zControl can be controlled via the keyboard:
  392.  
  393.    Cursor Up        - Moves the selection bar one entry to the top.
  394.                     - If there is no selection before, the lowest
  395.                       entry will be selected.
  396.    Cursor Down      - Moves the selection bar one entry down.
  397.                     - If there is no selection before, the highest
  398.                       entry will be selected.
  399.    Shift Cursor     - Moves the selection bar one page.
  400.    Return
  401.    Enter            - If there is a selection, the selected module
  402.                       will be activated.
  403.                     - If there is no selection, the window will be
  404.                       closed.
  405.    Esc              - If a selection exists, it will be removed.
  406.    Control-U
  407.    Control-Q        - The window will be closed.
  408.    Control-Alternate-Leertaste
  409.                     - The window will be iconified.
  410.                       (see Iconify)
  411.  
  412.  
  413. 5.8 Command Line Parameters for zControl
  414. ----------------------------------------
  415.  
  416. While starting zControl as a program, you can hand over parameters.
  417. Presently the command line is only searched for names of CPX modules.
  418. If the module is found, it will be activated.
  419.  
  420.  
  421. 5.8.1 Anwendung anmelden
  422.  
  423. It is recommended that you announce zControl as application for the
  424. file extension '*.CPX'. On the atari desktop you can do this by
  425. selecting the program and selecting 'Anwendung anmelden' in the menu.
  426. You enter the extension 'CPX' for the program. You have to save this
  427. adjustment through selecting 'Arbeit sichern' in the menu.
  428.  
  429. If you now double click on a CPX file, zControl will be activated and
  430. the CPX file will be activated. Through this, you have the option to
  431. put some CPX modules as icons on the desktop and having them
  432. activated directly by double clicking.
  433.  
  434. With the desktop replacement 'Gemini' you can activate the option
  435. 'Versteht VA_START-Meldung' in the dialog 'Anwendungen...'. If
  436. zControl is already startet and you request a CPX module, Gemini
  437. hands the name of the module via a VA_START message.
  438.  
  439. Hint:
  440. You can make an empty file with the extension .CPX which you can use
  441. for activating zControl. My dummy file for example is named _CALL.CPX
  442. and has the size of 0bytes. This file lies as an icon on my desktop.
  443. A double click on this file activates zControl if used as an ACC.
  444.  
  445.  
  446. 5.8.2 AV Protocol
  447.  
  448. zControl knows the VA_START message of the AV protocol. The name of
  449. the CPX modul will be the parameter. If the module is loaded, it will
  450. be activated. If not, zControl will try to load it.
  451.  
  452. zControl also knows the VA_DRAGACCWIND message. In Gemini you can
  453. drag a CPX file to the windwow fo zControl. This works like
  454. Drag&Drop.
  455.  
  456.  
  457. 5.8.3 Drag&Drop
  458.  
  459. zControl knows the Drag&Drop protocol. If you have a operating system
  460. which is capable of Drag&Drop, you can drag a CPX file from the
  461. desktop and drop it onto the window of zControl.
  462.  
  463. After that, zControl will load the module and activate it.
  464.  
  465. The following TOS compatible operating systems are capable of the
  466. Drag&Drop protocol:
  467.  
  468.    ∙ MultiTOS with an AES >= 4.1
  469.  
  470.    ∙ MagiC! 3.0
  471.  
  472.    ∙ MagiCMac (on the Apple Macintosh)
  473.  
  474.  
  475. 5.9 Iconify
  476. -----------
  477.  
  478. Iconify means the reduction of a normal GEM window to the minimal
  479. size. The window then is very small and shows a symbol in it, not the
  480. original contents. If you have many opened windows, it sometimes is
  481. comfortable to get some of the windows out of the way.
  482.  
  483. zControl knows two different ways of Iconify:
  484.  
  485.    ∙ MultiTOS-Iconify
  486.     
  487.      Under MultiTOS you have an iconify button on the right top of
  488.      the window. If you klick on that, the window will be iconified.
  489.  
  490.    ∙ ICFS-Iconify
  491.     
  492.      If no operating system with Iconify capability is found and the
  493.      Iconify-Server (ICFS) is present, you get the Iconify via ICFS.
  494.      If you click on the close button of the window and hold down one
  495.      of the keys
  496.  
  497.       - Control
  498.  
  499.       - Shift
  500.  
  501.       - Alternate
  502.  
  503.      the window will be iconified.
  504.  
  505. You can initiate the Iconify via keyboard via Control-Alternate-
  506. Space. This means to hold down the Control and the Alternate keys and
  507. then press Space.
  508.  
  509.  
  510.  
  511. 6 The INF File
  512. ==============
  513.  
  514. zControl saves his configuration in the file ZCONTROL.INF. This file
  515. will be searched at startup. Presently there are the following
  516. parameters:
  517.  
  518.    ∙ The path from where the CPX modules will be loaded.
  519.  
  520.    ∙ How many CPX module entries will be diplayed on the main
  521.      dialogue.
  522.  
  523.    ∙ The positions of the main dialogue window.
  524.  
  525.    ∙ The positions of the CPX windows.
  526.  
  527. All parameters will be saved if you choose the button 'Sichern' in
  528. the dialog 'Optionen/Voreinstellung...'.
  529.  
  530.  
  531. 6.1 Debug Function
  532. ------------------
  533.  
  534. Sometimes there might be a problem with a CPX module. If you have
  535. many modules, you need to find out which one makes the trouble. For
  536. this purpose, you can activate a simple debug function.
  537.  
  538. If you add the line
  539.  
  540.    DEBUG = STDOUT
  541.  
  542. by hand to the INF file, you get some information form every module
  543. loading. By this you might find out where the problem is.
  544.  
  545.  
  546. 6.2 Where will the INF file be searched?
  547. ----------------------------------------
  548.  
  549. zControl looks for the INF file with it's configuration in different
  550. places. The sequence is as follows:
  551.  
  552.   1. By using shel_envrn(), the variable HOME will be searched.
  553.  
  554.   2. The environment handed over while starting the program will be
  555.      searched for the variable HOME.
  556.  
  557.   3. By using shel_read(), the start path will be looked for.
  558.  
  559.   4. argv[0] will be examined for the start path.
  560.  
  561.   5. The boot devide will be determined by _bootdev. The file will be
  562.      searched on the root directory of that drive, normally C:\.
  563.  
  564. As soon as one of the methods finds a path, this path will be used
  565. for loading and saving the INF file.
  566.  
  567. It is recommended to use the HOME variable. In future there will be
  568. more programs that will use this variable.
  569.  
  570. For the operating system MagiC (or Mag!X) you can create the HOME
  571. variable through adding the following line into the file MAGX.INF:
  572.  
  573. This line should be before the #_CTR line.
  574.  
  575. Under MultiTOS you can create the HOME variable through adding the
  576. following line to the GEM.CNF file:
  577.  
  578. setenv HOME=c:\gemini2\user
  579.  
  580.  
  581.  
  582. 7 Undocumented Functions
  583. ========================
  584.  
  585. XControl has at least two undocumented functions. These functions
  586. should not be used by normal CPX modules, but some modules
  587. unfortunately use them.
  588.  
  589. Presently only the documented functions are supported.
  590.  
  591. Following is a list of some modules that I know which use
  592. undocumented functions.
  593.  
  594.  
  595. 7.1 KONFIG.CPX
  596. --------------
  597.  
  598. There is a CPX module from atari, named KONFIG.CPX. This module is
  599. used for the confguration of CPX headers, you can change the colors
  600. of the icons and the texts.
  601.  
  602. This module uses undocumented functions of XControl. This leads to a
  603. crash of the system if used with zControl.
  604.  
  605. That is why this module would not run under zControl. The program
  606. refuses to activate this module - you get an error message.
  607.  
  608.  
  609. 7.2 LINK_CPX.CPX
  610. ----------------
  611.  
  612. This module form Richard Kurz uses also undocumented functions of
  613. XControl. But it doesn't lead to a system crash.
  614.  
  615. But be carefull with this module.
  616.  
  617.  
  618. 7.3 DFREE.CPX
  619. -------------
  620.  
  621. This module from Andreas Mandel uses a undocumented function
  622. (reserve2()), I don't understand why.
  623.  
  624.  
  625.  
  626.  
  627. A The Format of the INF file
  628. ============================
  629.  
  630. zControl uses in the configuration file the following key words:
  631.  
  632.    ∙ CPX_PATH
  633.      This parameter determines, from which folder the CPX modules
  634.      will be loaded from.
  635.  
  636.    ∙ ANZ_DISP_ENTRY
  637.      This entry determines, how many CPX modules will be displayed in
  638.      the main dialogue. Presently you can have four to twelve
  639.      entries.
  640.  
  641.    ∙ WIND_MAIN
  642.      This saves the position of the zControl window. The window will
  643.      be opened at this position after startup.
  644.  
  645.    ∙ WIND_CPX?
  646.      Behind this entry, the position of a CPX window will be saved.
  647.      Instead of the questionmark there will be the number of the
  648.      window, for example 'WIND_CPX2' for the second CPX window.
  649.  
  650.    ∙ DEBUG
  651.      See Debug Function.
  652.  
  653.  
  654.  
  655. B Sources of supply
  656. ===================
  657.  
  658. Registered users can get the latest version from the author by
  659. sending a self addressed and stamped envelope with a formatted disk
  660. to the author. Non registered users should add the Shareware fee of
  661. DM10.
  662.  
  663. If you have a modem, you can get the latest version of zControl in
  664. the BBS called 'Maus Offenbach 2':
  665.  
  666.    ∙ Maus OF2: +49-6103-921170
  667.  
  668. The file name is ZCONTROL.LZH.
  669.  
  670. The latest version will be announced in the MausNet newsgroup
  671. "ATARI.NEWS".
  672.  
  673.  
  674.  
  675. C Thanks
  676. ========
  677.  
  678. I want to thank some people, without their help zControl would never
  679. got such a nice program. Ok, it was me who had all the coding work,
  680. but some good ideas and informations came from them.
  681.  
  682. Many thanks to...
  683.  
  684.    ∙ *Dirk Haun @ WI2*
  685.      for his information and the attentive testing.
  686.      ("Na wer sagt's denn, es hat sich ja doch einer gefunden, der
  687.      einen XControl-Clone schreibt")
  688.  
  689.    ∙ *Julian Reschke @ WI2*
  690.      for his information about the Drag&Drop and all this modern
  691.      stuff...
  692.  
  693.    ∙ *Martin Osieka @ OF2*
  694.      for his help with several problems. A special thanks belongs to
  695.      him for the idea on how to make several CPX modules work at the
  696.      same time! Such an information scientist is sometimes really
  697.      helpfull - I can recommend that!
  698.      ("Bitte nicht jeden Tag eine neue Release")
  699.  
  700.    ∙ *Rainer Wiesenfeller @ RS*
  701.      for the promised beer, if I will get it some time.
  702.      ("... finde ich es gut, daß sich mal jemand die Mühe gibt,
  703.      dieses Programm neu zu programmieren und zu pflegen.")
  704.  
  705.    ∙ *Reiner Rosin @ WI2*
  706.      who agreed that I use his file directory in the MAUS WI2 for
  707.      zControl. It wasn't voluntary, but I don't mind... ;-)
  708.  
  709.    ∙ *Rene Bartholomay @ OL*
  710.      who used the possibility to be the first registered user of
  711.      zControl. ;-)
  712.      ("Endlich mal jemand, der auch an die Großbildschirmbenutzer
  713.      denkt!")
  714.  
  715.  
  716.  
  717.  
  718.